package com.example.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 何星霖
 * @date 2018/10/12 15:40
 */
@RestController
public class japcontroller {
    private static final Logger logger = LoggerFactory.getLogger(japcontroller.class);
  @RequestMapping(value = "log")
    public static Logger getLogger() {
        logger.error("logz日志");
        return logger;
    }
}
